<!DOCTYPE html>
<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ page session="false"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>客户注册</title>
 <jsp:include page="../restab.jsp" flush="true" />
</head>
<body>
 <jsp:include page="../header.jsp" flush="true" />
 <div id="body">
    <H1>
        客户注册
    </H1>
    <form:form action="register" commandName="customerDto" modelattribute="customerDto" method="post">
    <label for="nameInput"> 名称: </label>
    <form:input path="customerName" id="nameInput"></form:input>
    <form:errors path="customerName" cssclass="error"></form:errors>
    <br />
     <label for="birInput"> 生日: </label>
    <form:input path="customerBir" id="nameInput"></form:input>
    <form:errors path="customerBir" cssclass="error"></form:errors>
    <br />
    <label for="addInput">地址: </label>
    <form:input path="customerAdd" id="addInput"></form:input>
    <form:errors path="customerAdd" cssclass="error"></form:errors>
    <br />
     
    <label for="telInput"> 手机号码: </label>
    <form:input path="customerTele" id="telInput"></form:input>
    <form:errors path="customerTele" cssclass="error"></form:errors>
    <br />
     
    <label for="passwordInput">密码: </label>
    <form:input path="password" id="passwordInput"></form:input>
    <form:errors path="password" cssclass="error"></form:errors>
    <br />
    
    <input type="submit" value="保存" /></input>
    </form:form>
    <br>

    </div>
</body>
</html>